home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d5xx
/
d504
/
polysilicon.lha
/
PolySiliCon
/
Install SiliCon
/
.work_scripts
/
fixup_mountlist
next >
Wrap
Text File
|
1991-06-27
|
2KB
|
53 lines
mat >NIL: "IP:#?" nocase devs:mountlist
if warn
echo "MountList should have an entry for IP:"
echo "I can add a suitable entry now if you permit."
echo "If you prefer, and know how, you may do the job yourself."
echo "If the file is edited automatically, the original will"
echo "be kept as DEVS:MountList.BAK."
echo "If somehow an error should occur, the original file"
echo "will NOT be changed."
jask "-rshall I Edit MountList?" -q
if warn
echo "Proceeding to add IP: to MountList"
if exists DEVS:MountList.BAK
echo "A previous MountList.BAK already exists!"
jask "-r -- shall I go on?" "-nNo Way!!" -pOK -q
if not warn
echo "OK -- I'll stop here"
skip EXIT_all
else
delete DEVS:MountList.BAK
endif
endif
Merge >RAM:_New_MountList DEVS:MountList 9999 IP_MountList
if fail
skip nogood
endif
copy RAM:_New_Mountlist to DEVS:
if fail
skip nogood
endif
delete RAM:_New_MountList
cd DEVS:
rename MountList as MountList.BAK
rename _New_MountList as MountList
echo "New MountList installed"
cd _I_Install_:
skip done
lab nogood
echo "MountList editing FAILED!"
skip EXIT_all
else
echo ""
echo "MountList not being changed..."
echo "To make the changes yourself, use the template"
echo "IP_MountList in the 'Install SiliCon' directory"
skip EXIT_all
endif
else
echo "Mountlist appears correct for IP: device"
endif
lab done